package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class MaTeUserMangeDaoGeneralEarningsDirectlyListVO extends MaTeUserMangeDaoGeneralEarningsListVO {
    @ApiModelProperty("直推用户数量")
    private Long directUserCount;
    @ApiModelProperty("直推消费")
    private BigDecimal directUserMoney;
    @ApiModelProperty("账户余额")
    private BigDecimal balance;

    public void setDirectUserMoney(BigDecimal directUserMoney) {
        this.directUserMoney = directUserMoney.stripTrailingZeros();
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance.stripTrailingZeros();
    }
}
